//
// Created by root on 2019/9/26.
//

#ifndef AOA_HEADERBASE_H
#define AOA_HEADERBASE_H

#include <iostream>
#include <cstdint>
#include <cstdio>
#include <vector>
#include <queue>

extern "C" {
#include <libusb.h>
#include <unistd.h>
};
using namespace std;

#define CHECKUSB(ret, str){\
    if (ret < 0) {\
        printf("[%04d:%s]:  %s  error:%s\n", __LINE__, __FUNCTION__, str, libusb_error_name(ret));\
    }\
}
#endif //AOA_HEADERBASE_H
